package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;

import java.util.List;

public interface TbSpecificationService {
    List<TbSpecification> getSpecInfo(String specName);

    void insertSpecInfo(TbSpecification tbSpecification, List<TbSpecificationOption> options);

    TbSpecification updateSpec(Long id);

    List<TbSpecificationOption> selectBySpecOp(Long id);

    void updateSpecInfo(TbSpecification tbSpecification, List<TbSpecificationOption> options);

    void deleteSpecInfo(Long[] ids);
}
